package September6;
 class plane_hongzhaji extends pilot_plane {
    private int dantoushu;
    private int height;
    private int weight;

        public void fire_missile(){

        }

    public plane_hongzhaji(int dantoushu, int height, int weight) {
        this.dantoushu = dantoushu;
        this.height = height;
        this.weight = weight;
    }

    public int getDantoushu() {
        return dantoushu;
    }

    public void setDantoushu(int dantoushu) {
        this.dantoushu = dantoushu;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

     @Override
     public void takeOff() {
         System.out.println("战斗机起飞");
     }

     @Override
     public void accelerate() {
         System.out.println("战斗机加速");
     }

     @Override
     public void land() {
         System.out.println("战斗机着陆");
     }

     public void send_daodan(){
         System.out.println("战斗机发射导弹");
     }
 }
